const router = require('koa-router')()
const leaseController = require('./../controller/leasingmanagements')

router.prefix('/lease');

router.get('/getLeaseData',leaseController.getLease);

router.post('/addLease',leaseController.addLease);

router.post('/deleteLease',leaseController.deleteLease);

router.post('/getUserLease',leaseController.getUserLease)

module.exports = router;